package com.situ.ssh.dao;

import com.situ.ssh.entity.User;

import java.util.List;

public interface IBaseDao<T> {
    public void save(T entity);
    public void deleteById(T entity);
    public void update(T entity);
    public T findById(Integer id);
    public List<T> findAll();
}
